package xin.yangshuai.basic01.gof23.builder;

public class DatabaseSql {

    /**
     * 数据库类型
     */
    private String database;

    /**
     * 表名
     */
    private String tableName;

    /**
     * 每页条数
     */
    private Integer pageSize;

    /**
     * 偏移量
     */
    private Integer offset;

    /**
     * sql
     */
    private String sql;

    public DatabaseSql() {
    }

    public DatabaseSql(String database, String tableName, Integer pageSize, Integer offset, String sql) {
        this.database = database;
        this.tableName = tableName;
        this.pageSize = pageSize;
        this.offset = offset;
        this.sql = sql;
    }

    public String getDatabase() {
        return database;
    }

    public void setDatabase(String database) {
        this.database = database;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getOffset() {
        return offset;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public String getSql() {
        return sql;
    }

    public void setSql(String sql) {
        this.sql = sql;
    }
}
